import static org.junit.Assert.*;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;


public class SquareTest {

	

	
	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}
	
	@Test
	public void getColdDamage_case1() {
		Square square1 = new Square(10);
		assertEquals(0,square1.getColdDamage());
	}
	
	@Test
	public void getColdDamage_case2() {
		Square square1 = new Square(-5);
		assertEquals(1,square1.getColdDamage());
	}	
	
	@Test
	public void getColdDamage_case3() {
		Square square1 = new Square(-14);
		assertEquals(1,square1.getColdDamage());
	}		
	
	@Test
	public void getColdDamage_case4() {
		Square square1 = new Square(-15);
		assertEquals(2,square1.getColdDamage());
	}		
	
	
	

}
